#ifndef DISPARITION_H
#define DISPARITION_H
#include "docentity.h"
#include "macaction.h"

class Disparition : public DocEntity
{
    Q_OBJECT
public:
    Disparition(MacAction* Parent);
    void giveBithTo();
    QWidget* view(DocEntity::ViewTypes viewType=Normal);
    QString content() const;
    bool saveToDB();
    void refresh(const RefreshType &refreshType);
protected:
    QString capTemplate();
    bool removeFromDB();
    bool isCorrect();
private:
    QString m_content;
public slots:
    void setContent(const QString&Content);
private slots:
    void onTableItemClick(int row, int column);
    void appendProtocol();
};

#endif // DISPARITION_H
